package com.api.model;

import java.util.Map;

import com.util.JsonParser;

public class ApiRequest {

	private final String content;

	private final Map<String, String> params;

	public ApiRequest(String content) {

		this.content = content;
		this.params = JsonParser.parseFromJSon(content, Map.class);
	}

	public String getContent() {
		return content;
	}

	public Map<String, String> getParams() {

		return params;
	}
}